package com.cainiao.mapper;

import com.cainiao.pojo.QrtzTriggerListeners;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface QrtzTriggerListenersMapper {
    /**
     *  根据主键删除数据库的记录,qrtz_trigger_listeners
     *
     * @param triggerName
     * @param triggerGroup
     * @param triggerListener
     */
    int deleteByPrimaryKey(@Param("triggerName") String triggerName, @Param("triggerGroup") String triggerGroup, @Param("triggerListener") String triggerListener);

    /**
     *  新写入数据库记录,qrtz_trigger_listeners
     *
     * @param record
     */
    int insert(QrtzTriggerListeners record);

    /**
     *  动态字段,写入数据库记录,qrtz_trigger_listeners
     *
     * @param record
     */
    int insertSelective(QrtzTriggerListeners record);
}